package com.aiwiown.face.response;

import com.aiwiown.face.ApiResponse;
import com.aiwiown.face.domain.orc.OCRDriverLicenseV1Card;
import com.aiwiown.face.internal.mapping.ApiField;
import com.aiwiown.face.internal.mapping.ApiListField;

import java.util.List;

/**
 * @ClassName : OcrDriverLicense2Response
 * @Description :
 * @Author : dbin0123
 * @Date: 2020年4月13日10:16:44
 */
public class OCRDriverLicenseV1Response extends ApiResponse {

    private static final long serialVersionUID = -6904831821363884809L;

    /**
     * 被检测的图片在系统中的标识
     */
    @ApiField("image_id")
    private String imageId;

    /**
     * 检测出驾驶证正本的数组
     */
    @ApiListField("cards")
    private List<OCRDriverLicenseV1Card> cards;

    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    public List<OCRDriverLicenseV1Card> getCards() {
        return cards;
    }

    public void setCards(List<OCRDriverLicenseV1Card> cards) {
        this.cards = cards;
    }
}
